package com.nlx.notes.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author nlx
 * @since 2024-12-15
 */
@Getter
@Setter
@TableName("flow_day_statistics")
public class FlowDayStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 支出总金额
     */
    private Integer expense;

    /**
     * 收入
     */
    private Integer income;

    /**
     * 流水类型 income-收入  expend-支出
     */
    private String transactionType;

    private Long bookId;


    /**
     * 日期，天
     */
    private String dayTime;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 数据状态 0-正常 1-删除
     */
    private Integer delFlag;
}
